﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinFormsMvp;
using PresentationLayer.Views.ViewContracts;

namespace PresentationLayer.Presenters
{
    public class AboutPresenter : Presenter<IAboutView>
    {
        public AboutPresenter(IAboutView view)
                : base(view)
            {
                View.CloseFormClicked += View_CloseFormClicked;
                View.Load += View_Load;
            }

            void View_CloseFormClicked(object sender, EventArgs e)
            {
                View.CloseForm();
            }

            void View_Load(object sender, EventArgs e)
            {
               // View.Model = new MainViewModel();
            }
    
    }
}
